This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
Subject: LotusScript: Test if object property exists - how?
Feedback Type: Question
Product Area: Domino Server
Technical Area: Application development
Platform: Windows 2003 server
Release: All
Reproducible: Not applicable
Hello everyone!
I couldn't find a LotusScript forum, so I'm posting here. I have code like this:
Dim objCol As NotesDocumentCollection
Set objCol = doc.Responses
If objCol.Count>0 Then
Print "Count is > 0"
End If
...which give me a "Object variable not set" when it hit the "If objCol.Count..." statement. Is there a way to check if "Count" is set? I have checked and objCol is not null and is an object. In javascript you could say something like "if(objCol.Count) {".
Any help would be very appreciated! If there is a better forum, please let me know.
Thanks,
Alex
Feedback number WEBB8U6UNG created by ~Delores Umjipyverikle on 05/10/2012
Status: Open
Comments: